package com.mrx.java8.defmethod;

/**
 * 1 : 接口默认方法的类优先方法
 *
 */
public class SubClass extends MyClass implements MyInterface {

    public static void main(String[] args) {
        SubClass subClass = new SubClass();
        String name = subClass.getName();
        System.out.println(name);
    }
}
